package poo.exo.Exceptions;

public class CreditNonAutorise extends Exception{

    private double somme;
    
    public CreditNonAutorise(String message, double versement){
            super(message);
            this.somme = versement;
    }
    
    public double getVersementMinimum(){
            return this.somme;
    }
    
}